fastapi>=0.115,<1
uvicorn[standard]>=0.30,<1
pydantic-settings>=2.6,<3
pytest>=8,<9
httpx>=0.27,<1
csrd-versioning>=0.1.36,<1

{%- if cookiecutter.has_structured_logging %}
csrd-logging>=0.1.36,<1
{%- endif %}

{%- if cookiecutter.has_database %}
csrd-repository>=0.1.36,<1
{%- if cookiecutter.database == "sqlite" %}
aiosqlite>=0.21,<1
{%- elif cookiecutter.database == "maria" %}
pymysql>=1.1,<2
{%- else %}
psycopg[binary]>=3.2,<4
{%- endif %}
{%- endif %}

{%- if cookiecutter.has_delegates %}
csrd-delegate>=0.1.36,<1
{%- endif %}

{%- if cookiecutter.has_auth %}
csrd-auth>=0.1.36,<1
{%- endif %}

{%- if cookiecutter.has_workers %}
celery>=5.4,<6
{%- if cookiecutter.broker == "redis" %}
redis>=5.0,<6
{%- else %}
aio-pika>=9.5,<10
{%- endif %}
{%- endif %}

{%- if cookiecutter.has_caching %}
redis>=5.0,<6
{%- endif %}
